كشف حساب مورد مفصل
{if $message != ""} {$message} {/if} Youtube


{if !$supplierId} {/if} {foreach $shownData as $data} {if {$data->supplierdebtchangeid} > 0} {assign var="rowspan" value=2} {assign var="products" value=0} {if $data->tablename == "buyBillController.php"} {assign var="products" value=count($productsArr[$data->supplierdebtchangemodelid])} {else if $data->tablename == "returnBuyBillController.php"} {assign var="products" value=count($productsReArr[$data->supplierdebtchangemodelid])} {elseif $data->tablename == "buyAndReturnBillController.php"} {assign var="products" value=count($productsBuyAndReArr[$data->supplierdebtchangemodelid])} {/if} {assign var="rowspan" value=$products+1} supplierdebtchangetype eq 0} class="danger" {else} {/if}> {if !$supplierId} {/if} {if {$data->supplierdebtchangetype} eq 1} {else} {/if} {if $data->tablename == "buyBillController.php"} {foreach $productsArr[$data->supplierdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {elseif $data->tablename == "returnBuyBillController.php"} {foreach $productsReArr[$data->supplierdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {elseif $data->tablename == "buyAndReturnBillController.php"} {foreach $productsBuyAndReArr[$data->supplierdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {else} {if $rowspan > 1} {/if} {/if} {/if} {/foreach}
م التاريخاسم المورداسم العملية رقم الفاتوره البيان الدين قبل اجمالي العملية القيمة المتغيرة الدين بعد التفاصيل
الصنف الكمية السعر الاجمالي الخصم الصافي اضافة خصم
{$data@iteration} {$data->supplierdebtchangedate}{$data->suppliername}{$data->processname} {if $data->tablename eq "buyBillController.php" || $data->tablename eq "returnBuyBillController.php" || $data->tablename eq "buyAndReturnBillController.php"} {$data->supplierdebtchangemodelid} {else} - {/if} {$data->supplierdebtchangebefore} {$data->supplierdebtchangeamount} {$data->supplierdebtchangeamount}{$data->supplierdebtchangeamount} {$data->supplierdebtchangeafter} {if $data->link != "#" && $data->link != ""} التفاصيل {else} - {/if}
{$prod->productName} {$prod->buybilldetailquantity*$prod->productnumber} {$prod->buybilldetailprice} {$prod->buybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->buybilldetailtotalprice}
{$prod->productName} {$prod->buybilldetailquantity*$prod->productnumber} {$prod->buybilldetailprice} {$prod->buybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->buybilldetailtotalprice}
{$prod->productName} {$prod->returnbuybilldetailquantity*$prod->productnumber} {$prod->returnbuybilldetailprice} {$prod->returnbuybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->returnbuybilldetailtotalprice}
{$prod->productName} {$prod->returnbuybilldetailquantity*$prod->productnumber} {$prod->returnbuybilldetailprice} {$prod->returnbuybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->returnbuybilldetailtotalprice}
{$prod->productName} {$prod->buybilldetailquantity*$prod->productnumber} {$prod->buybilldetailprice} {$prod->buybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->buybilldetailtotalprice}
{$prod->productName} {$prod->buybilldetailquantity*$prod->productnumber} {$prod->buybilldetailprice} {$prod->buybilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->buybilldetailtotalprice}
{if {$supplierDebt}}

الدين الحالي للمورد {$supplierDebt}

{/if}
{if {count($shownData)} > 0}
{/if}